package com.design.中介者模式;

/**
 * @author: sun.hongliang
 * @create: 2019/09/02 18:14
 */
public class Main {
    public static void main(String[] args) {
        User robert = new User("Robert");
        User john = new User("John");

        robert.sendMessage("Hi! John!");
        john.sendMessage("Hello! Robert!");

    }
}
